package Entity;



public class OperatoerDTO implements IOperatoerDTO
{
	int oprId; 
	String oprNavn; 
	String ini; 
	String cpr; 
	String password;
	
	public OperatoerDTO()			//Default Constructor
	{
		this.oprId = 0;
		this.oprNavn = "";
		this.ini = "";
		this.cpr = "";
		this.password = "";
	}
	
	public OperatoerDTO (int oId, String oNavn, String i, String cr, String pwd)   //created constructor
	{
		this.oprId = oId;
		this.oprNavn = oNavn;
		this.ini = i;
		this.cpr = cr;
		this.password = pwd;
		
	}
	
	public int getoprId(){
		return oprId;}    //return must be oprId not 0;
	public void setoprId(int Id){
		oprId = Id;
	}
	
	public String getoprNavn(){
		return oprNavn;
	}
	public void setoprNavn(String Navn){
		oprNavn = Navn;
	}
	
	public String getini(){
		return ini;
	}
	public void setini(String In){
		ini = In;
	}
	
	public String getcpr(){
		return cpr;
	}
	public void setcpr(String cp){
		cpr = cp;
	}
	
	public String getpassword(){
		return password;
	}
	public void setpassword(String passwd){
		password = passwd;
	}
	
}//corrected setters and getters
